package dao;

import entity.Subject;

import java.util.List;

public interface SubjectDAOI {
    int update(Subject sub);

    int add(Subject sub);

    List<Subject > findALL();

    List<Subject> search(int pageNo, int pageSize);

    List<Subject> mohu(String name, String qq, String telephone, int pageNo, int pageSize);

    List<Subject > get(int id);
}
